package com.yixin.hospital.entity.dto.req.joboffice;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("新增科室请求体")
@Data
public class JobOfficeAddReqDTO {

    @ApiModelProperty("科室名称")
    @NotBlank(message = "科室名称不能为空")
    private String name;
}
